package com.suxin.design.decorator;

/**
 * @author Tang
 * @classname MilkDecorator
 * @description [ 牛奶装饰者 ]
 * @date 2021/1/27 21:38
 */
public class MilkDecorator extends Decorator{

    public MilkDecorator(Beverage beverage) {
        super(beverage);
    }

    @Override
    public int Const() {
        return this.beverage.Const() + 1;
    }
}